package com.ruoyi.syf.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.syf.domain.RiskCheckDangerFix;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("隐患整改")
public class RiskCheckFixVo extends RiskCheckDangerFix {

    @ApiModelProperty(value = "隐患ID")
    private Long dangerId;

    @ApiModelProperty("对象名称")
    private String objectName;

    @ApiModelProperty("单元名称")
    private String unitName;

    @ApiModelProperty(value = "排查内容")
    private String content;

    @ApiModelProperty(value = "隐患描述")
    private String dangerDescribe;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "整改限期时间")
    private Date endFixTime;

    @ApiModelProperty(value = "整改责任人")
    private Long fixBy;

    @ApiModelProperty(value = "整改责任人名称")
    private String fixByName;

    @ApiModelProperty(value = "最终整改人名称")
    private String actualFixByName;

}
